﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Tester.DL645.Core
{
    /// <summary>
    /// 
    /// </summary>
    public static class Constants
    {
        /// <summary>
        /// 帧起始符
        /// </summary>
        public static readonly byte FrameStartCharacter = 0x68;

        /// <summary>
        /// 结束符
        /// </summary>
        public static readonly byte FrameEndCharacter = 0x16;
          
        /// <summary>
        /// 操作者
        /// </summary>
        public static readonly byte[] OperatorCharacters = new byte[] { 0XB7, 0X72, 0X38, 0X9C };

        /// <summary>
        /// 
        /// </summary>
        public static readonly byte[] EnergyCommandIdentifier= new byte[] { 0X33, 0X33, 0X33, 0X33 };

 

        /// </summary>
        public static readonly byte[] APhaseVoltageCommandIdentifier = new byte[] { 0X33, 0X34, 0X34, 0X35 };

        /// <summary>
        /// 
        /// </summary>
        public static readonly byte[] APhaseCurrentCommandIdentifier = new byte[] { 0X33, 0X34, 0X35, 0X35 };



    }
}
